package show.me.the.money.config.reportSchema.define;

import java.util.HashMap;

public abstract class ReportTypeUtil {
	
	private static HashMap<String, String> types = new HashMap<String,String>();
	
	static{
		types.put("composite","ReportSchemaComposite");
		types.put("dynamic", "ReportSchemaDynamic");
		types.put("level", "ReportSchemaLevel");             
		types.put("percent", "ReportSchemaPercent");
	}
	
	public static boolean hasType(String t){
		return types.containsKey(t);
	}
	
	public static String getReportClass(String t){
		return types.get(t);
	}
}
